﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Class="MindFactorial.LaunchPoint.Runtime.LaunchPointAlert"
    Title="MindFactorial.LaunchPoint.Runtime" Height="300" Width="300"
    x:Name="window" AllowsTransparency="True" WindowStyle="None"
    WindowStartupLocation="CenterScreen"
    >
	<Window.Resources>
		<Storyboard x:Key="OnMouseLeave1">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="{x:Null}" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:05" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</Window.Resources>
	<Window.Triggers>
		<EventTrigger RoutedEvent="Mouse.MouseLeave">
			<BeginStoryboard Storyboard="{StaticResource OnMouseLeave1}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseEnter">
			<BeginStoryboard x:Name="OnMouseEnter1_BeginStoryboard">
				<Storyboard x:Name="OnMouseEnter1">
					<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="{x:Null}" Storyboard.TargetProperty="(UIElement.Opacity)">
						<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
						<SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
					</DoubleAnimationUsingKeyFrames>
				</Storyboard>
			</BeginStoryboard>
		</EventTrigger>
	</Window.Triggers>
	<Border Width="300" Height="300" BorderBrush="#FF6667C9" BorderThickness="2,4,2,2">
		<Grid Width="300" Height="300">

			<ScrollViewer Height="240" VerticalAlignment="Top" Margin="10,10,10,40" >				
				<TextBlock Margin="36,54,42,128" x:Name="txtMessage" Text="" TextWrapping="Wrap"/>
			</ScrollViewer>

			<Button RenderTransformOrigin="0.764,0.412" HorizontalAlignment="Right" Margin="0,0,8,8" x:Name="btnClose" VerticalAlignment="Bottom" Width="72" Height="34" Content="Ok"/>
        
		</Grid>
	</Border>
</Window>
